projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c79d65
)
examples/drawing: Don't call gtk_main_quit
author
Timm Bäder
<mail@baedert.org>
Sat, 24 Sep 2016 07:36:32 +0000
(09:36 +0200)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Wed, 3 May 2017 13:53:34 +0000
(14:53 +0100)
This is a GtkApplication so it will do the right thing when closing the
window.
examples/drawing.c
patch
|
blob
|
history
diff --git
a/examples/drawing.c
b/examples/drawing.c
index 338fc251bf6c54b0c1a026b134e6486301fc60d1..b5d1114c98a732c8d6945da0afa5ba12d1c1c4b4 100644
(file)
--- a/
examples/drawing.c
+++ b/
examples/drawing.c
@@
-125,8
+125,6
@@
close_window (void)
{
if (surface)
cairo_surface_destroy (surface);
-
- gtk_main_quit ();
}
static void